package com.xhd.util;

import com.xhd.base.util.xBaseObj;
import com.xhd.codec.CryptoFilter;
import com.xhd.exception.XException;

public abstract interface ObjectSerializer {

	public static final int OPTION_ZIP = 1;
	public static final int OPTION_GZIP = 2;

	public abstract Object serializeObject(xBaseObj paramBusinessClass,
			int paramInt) throws XException;

	public abstract Object serializeObject(Throwable paramThrowable,
			int paramInt);

	public abstract void instanceObject(xBaseObj paramBusinessClass)
			throws XException;

	public abstract void instanceRelationObject(DataRelation paramDataRelation)
			throws XException;

	public abstract String getData(String paramString) throws XException;

	public abstract void setFilter(CryptoFilter paramCryptoFilter);
}
